<div id="gru-project-memberslist">
  <h3><%= t :member , :scope => [:helpers, :headlines, :project] %></h3>
  <ul>
  <% @project_members.each do |m| %>
    <li><%= m.alias %></li>
  <%  end %>
  </ul>
</div>

<h1><%= @project.name %></h1>

<p>
  <b><%= t :description, :scope => [:activerecord, :attributes, :project]%></b>
  <%= @project.description %>
</p>

<p>
  <b><%= t :url, :scope => [:activerecord, :attributes, :project]%></b>
  <%= @project.url %>
</p>

<p>
  <b><%= t :status, :scope => [:activerecord, :attributes, :project]%></b>
  <%= t @project.status, :scope => "activerecord.attributes.values.project.statuses" %>
</p>

<div>
  <span><b><%= t :progress, :scope => [:activerecord, :attributes, :project]%></b></span>
  <%
    bar_width = 200
    progress = @project.progress * bar_width / 100
  %>
  <%=  content_tag(:span, content_tag(:span, nil, :class => "gru-progressbar-progress", :style=> "width: #{progress}px"), :class=>"gru-progressbar", :style => "width: #{bar_width}px") %>
  <span><%= @project.progress %> &#037;</span>
</div>
<br />
<%= link_to (t :all, :scope => [:helpers, :navigation, :project]), projects_path %> &#124;
<%= link_to (t :edit, :scope => [:helpers, :navigation]), edit_project_path(@project) %> &#124;
<%= link_to (t :delete, :scope => [:helpers, :navigation]), nil, :confirm => (t :delete, :scope => [:helpers, :messages, :project]), :method => :delete %>
